from django.conf.urls.defaults import *
from django.conf import settings
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.conf.urls.static import static

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Example:
    # (r'^powerdb/', include('powerdb.foo.urls')),

    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
    # to INSTALLED_APPS to enable admin documentation:
    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    (r'^admin/login/$', 'django.contrib.auth.views.login'),
    
    (r'^admin/', include(admin.site.urls)),
    
    (r'^pmp/', include('bpe_toolkit.pmp.urls')),

    (r'^backend/', include('bpe_toolkit.backend.urls')),

    (r'^$', 'bpe_toolkit.views.root'),

)

urlpatterns += staticfiles_urlpatterns()
